package com.example.teesystem.entity.vo.courseData;

import com.example.teesystem.entity.CourseData;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseDataSelectVo {
    private Integer id;

    private Integer courseId;

    private String uploadName;

    private Integer uploadId;

    private Integer isPublic;

    private String url;

    private String title;

    private String message;

    private float star;

    public CourseDataSelectVo(CourseData courseData){
        BeanUtils.copyProperties(courseData,this);
    }

}
